package com.ruoyi.od.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存预警设置对象 stock_alert_setting
 * 
 * @author ruoyi
 * @date 2025-06-23
 */
public class StockAlertSetting extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预警编号 */
    @Excel(name = "预警编号")
    private String settingId;

    /** 商品编号 */
    @Excel(name = "商品编号")
    private String goodsId;

    /** 库存上限 */
    @Excel(name = "库存上限")
    private Long maxQuantity;

    /** 库存下限 */
    @Excel(name = "库存下限")
    private Long minQuantity;

    public void setSettingId(String settingId) 
    {
        this.settingId = settingId;
    }

    public String getSettingId() 
    {
        return settingId;
    }

    public void setGoodsId(String goodsId) 
    {
        this.goodsId = goodsId;
    }

    public String getGoodsId() 
    {
        return goodsId;
    }

    public void setMaxQuantity(Long maxQuantity) 
    {
        this.maxQuantity = maxQuantity;
    }

    public Long getMaxQuantity() 
    {
        return maxQuantity;
    }

    public void setMinQuantity(Long minQuantity) 
    {
        this.minQuantity = minQuantity;
    }

    public Long getMinQuantity() 
    {
        return minQuantity;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("settingId", getSettingId())
            .append("goodsId", getGoodsId())
            .append("maxQuantity", getMaxQuantity())
            .append("minQuantity", getMinQuantity())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
